﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using HandLab.Mvc3App.Aspx.Models.Entities;
namespace HandLab.Mvc3App.Aspx.Models.Interfaces
{
    public interface ICategoryService
    {
        void Add(CategoryInfo category);

        void ChangeName(int id, string name);

        void Remove(int id);

        CategoryInfo GetDetail(int id);

        List<CategoryInfo> GetAll();
    }
}